package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/11/19
 * @description
 */
public interface ActivityMapper {
    List<Activity> selectActivities(String publisher);

    void insertActivity(Activity activity);

    void updateActivity(Activity activity);

    void deleteActivities(@Param("list") List<Integer> ids);

    List<Activity> selectActivityList(Integer limit);

    Integer selectDashboardData();
}
